HAL CORDIC APIs listing for migration

This section provides a full listing of the HAL1 APIs for migration. It includes the various constants, enumerations, structures, functions, and macros.

HAL CORDIC constants

HAL1

series

HAL2

Refer to

CORDIC_DMA_DIR_IN

u5, h5, g4, h7

Removed / New Usage changes

Refer to

CORDIC_DMA_DIR_IN_OUT

u5, h5, g4, h7

Removed / New Usage changes

Refer to

CORDIC_DMA_DIR_NONE

u5, h5, g4, h7

Removed / New Usage changes

Refer to

CORDIC_DMA_DIR_OUT

u5, h5, g4, h7

Removed / New Usage changes

Refer to

CORDIC_DMA_REN

u5, h5, g4, h7

Removed / New Usage changes

Refer to

CORDIC_DMA_WEN

u5, h5, g4, h7

Removed / New Usage changes

Refer to

CORDIC_FLAG_RRDY

u5, h5, g4, h7

Removed / New Usage changes

Refer to

CORDIC_FUNCTION_ARCTANGENT

u5, h5, g4, h7

HAL_CORDIC_FUNCTION_ARCTANGENT

Refer to

CORDIC_FUNCTION_COSINE

u5, h5, g4, h7

HAL_CORDIC_FUNCTION_COSINE

Refer to

CORDIC_FUNCTION_HARCTANGENT

u5, h5, g4, h7

HAL_CORDIC_FUNCTION_HARCTANGENT

Refer to

CORDIC_FUNCTION_HCOSINE

u5, h5, g4, h7

HAL_CORDIC_FUNCTION_HCOSINE

Refer to

CORDIC_FUNCTION_HSINE

u5, h5, g4, h7

HAL_CORDIC_FUNCTION_HSINE

Refer to

CORDIC_FUNCTION_MODULUS

u5, h5, g4, h7

HAL_CORDIC_FUNCTION_MODULUS

Refer to

CORDIC_FUNCTION_NATURALLOG

u5, h5, g4, h7

HAL_CORDIC_FUNCTION_NATURAL_LOG

Refer to

CORDIC_FUNCTION_PHASE

u5, h5, g4, h7

HAL_CORDIC_FUNCTION_PHASE

Refer to

CORDIC_FUNCTION_SINE

u5, h5, g4, h7

HAL_CORDIC_FUNCTION_SINE

Refer to

CORDIC_FUNCTION_SQUAREROOT

u5, h5, g4, h7

HAL_CORDIC_FUNCTION_SQUARE_ROOT

Refer to

CORDIC_INSIZE_16BITS

u5, h5, g4, h7

HAL_CORDIC_IN_WIDTH_16_BIT

Refer to

CORDIC_INSIZE_32BITS

u5, h5, g4, h7

HAL_CORDIC_IN_WIDTH_32_BIT

Refer to

CORDIC_IT_IEN

u5, h5, g4, h7

Removed / New Usage changes

Refer to

CORDIC_NBREAD_1

u5, h5, g4, h7

HAL_CORDIC_NB_RESULT_1

Refer to

CORDIC_NBREAD_2

u5, h5, g4, h7

HAL_CORDIC_NB_RESULT_2

Refer to

CORDIC_NBWRITE_1

u5, h5, g4, h7

HAL_CORDIC_NB_ARG_1

Refer to

CORDIC_NBWRITE_2

u5, h5, g4, h7

HAL_CORDIC_NB_ARG_2

Refer to

CORDIC_OUTSIZE_16BITS

u5, h5, g4, h7

HAL_CORDIC_OUT_WIDTH_16_BIT

Refer to

CORDIC_OUTSIZE_32BITS

u5, h5, g4, h7

HAL_CORDIC_OUT_WIDTH_32_BIT

Refer to

CORDIC_PRECISION_10CYCLES

u5, h5, g4, h7

HAL_CORDIC_PRECISION_10_CYCLE

Refer to

CORDIC_PRECISION_11CYCLES

u5, h5, g4, h7

HAL_CORDIC_PRECISION_11_CYCLE

Refer to

CORDIC_PRECISION_12CYCLES

u5, h5, g4, h7

HAL_CORDIC_PRECISION_12_CYCLE

Refer to

CORDIC_PRECISION_13CYCLES

u5, h5, g4, h7

HAL_CORDIC_PRECISION_13_CYCLE

Refer to

CORDIC_PRECISION_14CYCLES

u5, h5, g4, h7

HAL_CORDIC_PRECISION_14_CYCLE

Refer to

CORDIC_PRECISION_15CYCLES

u5, h5, g4, h7

HAL_CORDIC_PRECISION_15_CYCLE

Refer to

CORDIC_PRECISION_1CYCLE

u5, h5, g4, h7

HAL_CORDIC_PRECISION_1_CYCLE

Refer to

CORDIC_PRECISION_2CYCLES

u5, h5, g4, h7

HAL_CORDIC_PRECISION_2_CYCLE

Refer to

CORDIC_PRECISION_3CYCLES

u5, h5, g4, h7

HAL_CORDIC_PRECISION_3_CYCLE

Refer to

CORDIC_PRECISION_4CYCLES

u5, h5, g4, h7

HAL_CORDIC_PRECISION_4_CYCLE

Refer to

CORDIC_PRECISION_5CYCLES

u5, h5, g4, h7

HAL_CORDIC_PRECISION_5_CYCLE

Refer to

CORDIC_PRECISION_6CYCLES

u5, h5, g4, h7

HAL_CORDIC_PRECISION_6_CYCLE

Refer to

CORDIC_PRECISION_7CYCLES

u5, h5, g4, h7

HAL_CORDIC_PRECISION_7_CYCLE

Refer to

CORDIC_PRECISION_8CYCLES

u5, h5, g4, h7

HAL_CORDIC_PRECISION_8_CYCLE

Refer to

CORDIC_PRECISION_9CYCLES

u5, h5, g4, h7

HAL_CORDIC_PRECISION_9_CYCLE

Refer to

CORDIC_SCALE_0

u5, h5, g4, h7

HAL_CORDIC_SCALING_FACTOR_0

Refer to

CORDIC_SCALE_1

u5, h5, g4, h7

HAL_CORDIC_SCALING_FACTOR_1

Refer to

CORDIC_SCALE_2

u5, h5, g4, h7

HAL_CORDIC_SCALING_FACTOR_2

Refer to

CORDIC_SCALE_3

u5, h5, g4, h7

HAL_CORDIC_SCALING_FACTOR_3

Refer to

CORDIC_SCALE_4

u5, h5, g4, h7

HAL_CORDIC_SCALING_FACTOR_4

Refer to

CORDIC_SCALE_5

u5, h5, g4, h7

HAL_CORDIC_SCALING_FACTOR_5

Refer to

CORDIC_SCALE_6

u5, h5, g4, h7

HAL_CORDIC_SCALING_FACTOR_6

Refer to

CORDIC_SCALE_7

u5, h5, g4, h7

HAL_CORDIC_SCALING_FACTOR_7

Refer to

HAL_CORDIC_ERROR_DMA

u5, h5, g4, h7

HAL_CORDIC_ERROR_DMA

Refer to

HAL_CORDIC_ERROR_INVALID_CALLBACK

u5, h5, g4, h7

Removed / New Usage changes

Refer to

HAL_CORDIC_ERROR_NONE

u5, h5, g4, h7

HAL_CORDIC_ERROR_NONE

Refer to

HAL_CORDIC_ERROR_NOT_READY

u5, h5, g4, h7

Removed / New Usage changes

Refer to

HAL_CORDIC_ERROR_PARAM

u5, h5, g4, h7

Removed / New Usage changes

Refer to

HAL_CORDIC_ERROR_TIMEOUT

u5, h5, g4, h7

Removed / New Usage changes

Refer to


HAL CORDIC enumerations

HAL1

series

HAL2

Refer to

HAL_CORDIC_CALCULATE_CPLT_CB_ID

u5, h5, g4, h7

Removed / New Usage changes

Refer to

HAL_CORDIC_ERROR_CB_ID

u5, h5, g4, h7

Removed / New Usage changes

Refer to

HAL_CORDIC_MSPDEINIT_CB_ID

u5, h5, g4, h7

Removed / New Usage changes

Refer to

HAL_CORDIC_MSPINIT_CB_ID

u5, h5, g4, h7

Removed / New Usage changes

Refer to

HAL_CORDIC_STATE_BUSY

u5, h5, g4, h7

Removed / New Usage changes

Refer to

HAL_CORDIC_STATE_ERROR

u5, h5, g4, h7

Removed / New Usage changes

Refer to

HAL_CORDIC_STATE_READY

u5, h5, g4, h7

Removed / New Usage changes

Refer to

HAL_CORDIC_STATE_RESET

u5, h5, g4, h7

HAL_CORDIC_STATE_RESET

Refer to

HAL_CORDIC_CallbackIDTypeDef

u5, h5, g4, h7

Removed / New Usage changes

Refer to

HAL_CORDIC_StateTypeDef

u5, h5, g4, h7

hal_cordic_state_t

Refer to


HAL CORDIC macros

HAL1

series

HAL2

Refer to

__HAL_CORDIC_CLEAR_FLAG

u5, h5, g4, h7

Removed as no flag can be cleared.

Refer to

__HAL_CORDIC_CLEAR_IT

u5, h5, g4, h7

Removed as no interrupt status flag.

Refer to

__HAL_CORDIC_DISABLE_IT

u5, h5, g4, h7

Removed / New Usage changes

Refer to

__HAL_CORDIC_ENABLE_IT

u5, h5, g4, h7

Removed / New Usage changes

Refer to

__HAL_CORDIC_GET_FLAG

u5, h5, g4, h7

Removed / New Usage changes

Refer to

__HAL_CORDIC_GET_IT

u5, h5, g4, h7

Removed as no interrupt status flag.

Refer to

__HAL_CORDIC_GET_IT_SOURCE

u5, h5, g4, h7

Removed / New Usage changes

Refer to

__HAL_CORDIC_RESET_HANDLE_STATE

u5, h5, g4, h7

Removed / New Usage changes

Refer to


HAL CORDIC structures

HAL1

series

HAL2

Refer to

pCORDIC_CallbackTypeDef

u5, h5, g4, h7

hal_cordic_cb_t

Refer to

CORDIC_ConfigTypeDef

u5, h5, g4, h7

hal_cordic_config_t

Refer to

CORDIC_HandleTypeDef

u5, h5, g4, h7

hal_cordic_handle_t

Refer to


HAL CORDIC functions

HAL1

series

HAL2

Refer to

HAL_CORDIC_Calculate

u5, h5, g4, h7

HAL_CORDIC_Calculate

Refer to

HAL_CORDIC_CalculateCpltCallback

u5, h5, g4, h7

HAL_CORDIC_CalculateCpltCallback

Refer to

HAL_CORDIC_CalculateZO

u5, h5, g4, h7

HAL_CORDIC_CalculateZeroOverhead

Refer to

HAL_CORDIC_Calculate_DMA

u5, h5, g4, h7

HAL_CORDIC_Calculate_DMA

Refer to

HAL_CORDIC_Calculate_IT

u5, h5, g4, h7

HAL_CORDIC_Calculate_IT

Refer to

HAL_CORDIC_Configure

u5, h5, g4, h7

HAL_CORDIC_SetConfig

Refer to

HAL_CORDIC_DeInit

u5, h5, g4, h7

HAL_CORDIC_DeInit

Refer to

HAL_CORDIC_ErrorCallback

u5, h5, g4, h7

HAL_CORDIC_ErrorCallback

Refer to

HAL_CORDIC_GetError

u5, h5, g4, h7

HAL_CORDIC_GetLastErrorCodes

Refer to

HAL_CORDIC_GetState

u5, h5, g4, h7

HAL_CORDIC_GetState

Refer to

HAL_CORDIC_IRQHandler

u5, h5, g4, h7

HAL_CORDIC_IRQHandler

Refer to

HAL_CORDIC_Init

u5, h5, g4, h7

HAL_CORDIC_Init

Refer to

HAL_CORDIC_MspDeInit

u5, h5, g4, h7

Removed / New Usage changes

Refer to

HAL_CORDIC_MspInit

u5, h5, g4, h7

Removed / New Usage changes

Refer to

HAL_CORDIC_RegisterCallback

u5, h5, g4, h7

Removed / New Usage changes

Refer to

HAL_CORDIC_UnRegisterCallback

u5, h5, g4, h7

Removed / New Usage changes

Refer to